package Chapter5;

class T implements Runnable{
	public void run() {
		for(int i=0;i<50;i++) {
			System.out.println("new");
		}
		
	}
}

public class Work2 {
	public static void main(String[] args) {
		new Thread(new T()).start();
		for(int i=0;i<100;i++) {
			System.out.println("main");
		}
		
	}

}
